<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1{
   width:195px;
}
.select_width{
   width:130px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo"
	cellspacing="1">
	<tr>
		<td   colspan="6" class="t_bar2">首台套认定情况</td>
		
	</tr>
	<tr>
		<td   align="right"><span class="color_red">*</span>项目名称：</td>
		<td  colspan="5">
			<input id="zh_title" name="proposal/zh_title" label="项目名称" type="text" required class="input_css required "  style="width: 725px;" maxlength="100" value="<x:out select="$xmlData/data/proposal/zh_title" />"/> 
		</td>
	</tr>
	<tr>
	<td  align="right"><span class="color_red">*</span>项目认定文件（文号）：</td>
	<td  >
		<input name="proposal/identified_file" label="项目认定文件" type="text" required class="input_css required "  maxlength="20" value="<x:out select="$xmlData/data/proposal/identified_file" />"/> 
	</td>
	<td align="right"><span class="color_red">*</span>认定级次：</td>
	<td colspan="2" valign="middle">
	<label> <input type="radio" class="do " id="level_identified_01" style="vertical-align: middle;" name="level_identified" label="国家级" value="01" /><span style="vertical-align: middle;">国家级</span></label> 
	<label> <input type="radio" class="do " id="level_identified_02" style="vertical-align: middle;" name="level_identified" label="省级" value="02" /><span style="vertical-align: middle;">省级</span></label> 
	<input type="hidden" name="proposal/level_identified_value" id="identified_value" class="required" value="<x:out select="$xmlData/data/proposal/level_identified_value" />" label="认定级次" /> 
	<input type="hidden" name="proposal/level_identified_name" id="level_identified_name" value="<x:out select="$xmlData/data/proposal/level_identified_name" />" label="认定级次" />
		</td>
	</tr>
	<tr>
		<td   align="right"><span class="color_red">*</span>认定装备名称及型号：</td>
		<td  colspan="5">
			<input  name="proposal/identified_model" label="认定装备名称及型号" type="text" required class="input_css required "  style="width: 725px;" maxlength="100" value="<x:out select="$xmlData/data/proposal/identified_model" />"/> 
		</td>
	</tr>
	<tr>
	<td  align="right" nowrap><span class="color_red">*</span>首次投放市场时间：</td>
	<td colspan="1">
		<c:set var="market_date"><x:out select="$xmlData/data/proposal/market_date" /></c:set>
		<cpt:date id="market_date" name="proposal/market_date" value="${market_date}" className="required date  " label="首次投放市场时间" ></cpt:date> 
	</td>
	<td  align="right" nowrap><span class="color_red">*</span>首批订货数量（台/套）：</td>
	<td colspan="3">
	<input  name="proposal/order" label="首批订货数量" type="text" class="input_css  required"  style="text-align: right" onfocus="InitInput.setNumber(this,9,0,0)" value="<x:out select="$xmlData/data/proposal/order" />"/>
	</td>
	</tr>
	<tr>
	<td  align="right" nowrap><span class="color_red">*</span>单台（套）装备价格（万元）：</td>
	<td colspan="1">
	<input  name="proposal/price"  label="单台（套）装备价格" type="text" class="input_css  required"  style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/price" />"/>
	</td>
	<td  align="right" nowrap><span class="color_red">*</span>产品累计实现销售收入（万元）：</td>
	<td colspan="1">
	<input  name="proposal/sell_income"  label="产品累计实现销售收入" type="text" class="input_css  required"  style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sell_income" />"/>
	</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>产品类别：</td>
	<td colspan="5" valign="middle">
	<label> <input type="radio" class="do " id="product_type_01" style="vertical-align: middle;" name="product_type" label="成套设备" value="01" onclick="setStatus();"/><span style="vertical-align: middle;">成套设备</span></label> 
	<label> <input type="radio" class="do " id="product_type_02" style="vertical-align: middle;" name="product_type" label="单台设备 " value="02" onclick="setStatus();"/><span style="vertical-align: middle;">单台设备 </span></label> 
	<label> <input type="radio" class="do " id="product_type_03" style="vertical-align: middle;" name="product_type" label="总成设备" value="03" onclick="setStatus();"/><span style="vertical-align: middle;">总成设备</span></label> 
	<label> <input type="radio" class="do " id="product_type_04" style="vertical-align: middle;" name="product_type" label="核心部件 " value="04" onclick="setStatus();"/><span style="vertical-align: middle;">核心部件 </span></label> 
	<label> <input type="radio" class="do " id="product_type_05" style="vertical-align: middle;" name="product_type" label="其他 " value="05" onclick="setStatus();"/><span style="vertical-align: middle;">其他</span></label> 
	<input type="text" name="proposal/product_type_other" id="product_type_other" class="required" maxlength="20" value="<x:out select="$xmlData/data/proposal/product_type_other" />" label="产品类别-->其他" />
	<input type="hidden" name="proposal/product_type_value" id="product_type_value" class="required" value="<x:out select="$xmlData/data/proposal/product_type_value" />" label="产品类别" /> 
	<input type="hidden" name="proposal/product_type_name" id="product_type_name" value="<x:out select="$xmlData/data/proposal/product_type_name" />" label="产品类别" />
	</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>技术先进性：</td>
	<td colspan="5" valign="middle">
	<label> <input type="radio" class="do " id="technical_01" style="vertical-align: middle;" name="technical" label="国际领先" value="01" /><span style="vertical-align: middle;">国际领先</span></label> 
	<label> <input type="radio" class="do " id="technical_02" style="vertical-align: middle;" name="technical" label="国内领先" value="02" /><span style="vertical-align: middle;">国内领先</span></label> 
	<label> <input type="radio" class="do " id="technical_03" style="vertical-align: middle;" name="technical" label="行业领先" value="03" /><span style="vertical-align: middle;">行业领先</span></label> 
	<input type="hidden" name="proposal/technical_value" id="technical_value" class="required" value="<x:out select="$xmlData/data/proposal/technical_value" />" label="技术先进性" /> 
	<input type="hidden" name="proposal/technical_name" id="technical_name" value="<x:out select="$xmlData/data/proposal/technical_name" />" label="技术先进性" />
	</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>与同类进口设备比较<br/>其价格优势：</td>
	<td colspan="5" valign="middle">
	<label> <input type="radio" class="do " id="superiority_01" style="vertical-align: middle;" name="superiority" label="降低10％以内 " value="01" onclick="setStatus1();"/><span style="vertical-align: middle;">降低10％以内 </span></label> 
	<label> <input type="radio" class="do " id="superiority_02" style="vertical-align: middle;" name="superiority" label="降低30％以内" value="02" onclick="setStatus1();"/><span style="vertical-align: middle;">降低30％以内</span></label> 
	<label> <input type="radio" class="do " id="superiority_03" style="vertical-align: middle;" name="superiority" label="降低50％以内 " value="03" onclick="setStatus1();"/><span style="vertical-align: middle;">降低50％以内 </span></label>
	<label> <input type="radio" class="do " id="superiority_04" style="vertical-align: middle;" name="superiority" label="其他 " value="04" onclick="setStatus1();"/><span style="vertical-align: middle;">其他 </span></label> 
	<input type="text" name="proposal/superiority_other" id="superiority_other" class="required" maxlength="20" value="<x:out select="$xmlData/data/proposal/superiority_other" />" label="与同类进口设备比较其价格优势-->其他" />
	<input type="hidden" name="proposal/superiority_value" id="superiority_value" class="required" value="<x:out select="$xmlData/data/proposal/superiority_value" />" label="与同类进口设备比较其价格优势" /> 
	<input type="hidden" name="proposal/superiority_name" id="superiority_name" value="<x:out select="$xmlData/data/proposal/superiority_name" />" label="与同类进口设备比较其价格优势" />
	</td>
	</tr>
	<tr>
	    <td  align="right" nowrap><span class="color_red">*</span>申报日期：</td>
		<td >
			<c:set var="submit_date"><x:out select="$xmlData/data/proposal/submit_date" /></c:set>
			<cpt:date id="submit_date" name="proposal/submit_date" value="${submit_date}" className=" required date" label="申报日期"></cpt:date> 
		</td>
		<td>&nbsp;</td>
		<td colspan="3">&nbsp;</td>
	
	</tr>
	
	<tr>
		<td   colspan="6" class="t_bar2">申请项目资金情况</td>
		
	</tr>
	<tr>
		<td  align="right"  >项目类别：</td>
		<td   ><x:out select="$xmlData/data/proposal/grant_name" />
		</td> 
		<td  align="right">支持方式：</td>
		<td  colspan="3">
			<span name="proposal/sponsor_category"><x:out select="$xmlData/data/proposal/sponsor_category" /></span> 
		</td>
		
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>申请金额（万元）：</td>
	<td >
	<input  name="proposal/sqje" id="sqje"   label="申请金额" type="text" class="input_css required"  style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sqje" />"/> 
	</td>
	<td  align="right">资金级次：</td>
     <td colspan="3">
		<span  name="proposal/fund_level">市级</span>
		</td>
	</tr>
	<tr>
	<td  align="right" nowrap>归口管理部门：</td>
		<td  ><span name="proposal/org_name">无锡市经济和信息化委员会</span> </td>
	    <td  align="right">管理类别：</td>
		<td  colspan="3">
		<span name="proposal/manage_category"><x:out select="$xmlData/data/proposal/manage_category" /></span>
		</td>
		
	</tr>
	<tr>
		<td  align="right" nowrap><span class="color_red">*</span>项目所属产业：</td>
		<td nowrap colspan="5">
			<c:set var="industry"><x:out select="$xmlData/data/proposal/industry_value" /></c:set>
			<cpt:checkbox key="industry" name="industry" repeatColumn="5" style="border: 0px; padding: 0px; margin: 0px;float:left;"></cpt:checkbox>
			<input type="hidden" id="industry_value" name="proposal/industry_value" class="required" value="${industry}" label="项目所属产业">
			<input type="hidden" name="proposal/industry_name" value="<x:out select="$xmlData/data/proposal/industry_name" />">
		</td>
	</tr>
	<tr>
	    <td  align="right">功能分类：</td>
		<td  colspan="5">
		<span name="proposal/grant_function"><x:out select="$xmlData/data/proposal/grant_function" /></span>
		</td>
		
	</tr>
	</table>
	<table  width="100%" border="0" cellpadding="0" cellspacing="1">
	<tr>
		<td    class="t_bar2">申请资助依据条款</td>
		
	</tr>
	<tr>
		<td >
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<span name="proposal/policy_foundation"><x:out select="$xmlData/data/proposal/policy_foundation" /></span> 
		</td>
	</tr>
</table>
<br/>
<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo"
	cellspacing="1">
	<tr>
		<td class="t_bar2" colspan="8">人员信息</td>
		
	</tr>
<tr>
		<td  align="right"><span class="color_red">*</span>项目联系人：</td>
		<td  >
			<input  name="proposal/contact_psn_cname" label="项目联系人" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
			<input  name="proposal/contact_psn_tel" label="联系电话" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_tel" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
			<input  name="proposal/contact_psn_mobile" label="联系手机" type="text" required maxlength="11" required class="input_css required mobile"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>电子邮箱：</td>
		<td  >
			<input  name="proposal/contact_psn_email" label="电子邮箱" type="text" required class="input_css required email"   maxlength="50" value="<x:out select="$xmlData/data/proposal/contact_psn_email" />"/> 
		</td>
	</tr>
	
	<tr>
		<td  align="right">项目负责人：</td>
		<td>
			<input  name="proposal/fzr_psncode" type="hidden" required class="input_css "   maxlength="20" value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/psn_code" />"/> 
		    
		    <span name="proposal/fzr_psnname" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></span>
		    <c:set var="psnCode"><x:out select="$xmlData/data/proposal/psn_code" /></c:set>
		    <security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
				<span id="personSelect">
				<input type="button" class="button_02" style="height: 25px; padding: 1px;" id="selectPsn" value="设置">
				<cpt:personSelect key="personSelect"  addRole="3"  psnCode="${psnCode}" callback="selectPsnCall" bindEvent="click" bindObject="selectPsn" title="设置项目负责人" fltFile="personSelector.ftl"></cpt:personSelect>
				</span>
			</security:authorize>
		</td>
		<security:authorize ifNotGranted="A_DAILU_PROPOSAL"> 
		<td  align="right">联系电话：</td>
		<td  >
		<span name="proposal/fzr_tel"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" /></span>
		</td>
		<td  align="right">联系手机：</td>
		<td  >
		<span name="proposal/fzr_mobile"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /></span>
		</td>
		</security:authorize>
		<security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
		<input name="proposal/fzr_tel" label="项目负责人联系电话" type="text" required  class="input_css required"  onchange="synFzrMsg(1)"  maxlength="50"  value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" />"/>
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
		<input name="proposal/fzr_mobile" label="项目负责人联系手机" type="text" onchange="synFzrMsg(1)" onfocus="InitInput.setNumber(this,11,0,0)"  maxlength="11"  class="input_css required mobile"   value="<x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" />"/>
		</td>
		</security:authorize>
		<td  align="right">电子邮箱：</td>
		<td  >
		<span name="proposal/fzr_mail"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" /></span>
		</td>
	</tr>
</table>


<script type="text/javascript">
    function setStatus(){
    	if($("#product_type_05").is(":checked")){
    		$("#product_type_other").removeClass("gray");
    		$("#product_type_other").addClass("required");
    		$("#product_type_other").attr("disabled",false);
    	}else{
    		$("#product_type_other").removeClass("required");
    		$("#product_type_other").addClass("gray");
    		$("#product_type_other").attr("disabled",true);
    		$("#product_type_other").val("");
    	}
    }
    function setStatus1(){
    	if($("#superiority_04").is(":checked")){
    		$("#superiority_other").removeClass("gray");
    		$("#superiority_other").addClass("required");
    		$("#superiority_other").attr("disabled",false);
    	}else{
    		$("#superiority_other").removeClass("required");
    		$("#superiority_other").addClass("gray");
    		$("#superiority_other").attr("disabled",true);
    		$("#superiority_other").val("");
    	}
    }
    $(function(){
    	setStatus();
    	setStatus1();
    });
</script>